import { createWebHashHistory, createRouter } from 'vue-router'
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      redirect: '/main',
    },
    {
      path: '/main',
      name: 'Main',
      component: (): Promise<typeof import('@renderer/views/index.vue')> => import('@renderer/views/index.vue'),
    },
  ],
})

export default router
